// @Bind #view.onReady
!function(self, arg) {
	var taskName = "";
	
	view.id("ajaxActionGetTaskName").execute(function(result) {
		taskName = result;
	});

	
}

// @Bind #ajaxActionCompleteTask.beforeExecute
!function(self, arg) {
	var opinion = view.id("autoFormSubmit").get("entity").opinion;
	var taskId = "${request.getParameter('taskId')}";
	
	self.set("parameter", {
		opinion : opinion,
		taskId : taskId
	});
	
}
